<?php

require_once 'PHPUnit/Framework/TestCase.php';

abstract class Oa_Test_AbstractTest extends PHPUnit_Framework_TestCase {

    protected function get_memcache() {
        /*$memcache = new Memcache();
        $memcache_config = Apf::get_instance()->get_config('aifang_servers', 'cache');
        foreach($memcache_config as $server) {
            $memcache->addServer($server['host'], $server['port']);
        }
        return $memcache;*/
    }

    protected function log($str) {
        echo date("Y-m-d H:i:s") . " $str \n";
    }
}

